﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DesignPattern.DecoratorPattern
{
    //装饰者模式核心
    public abstract class Decorator : Phone
    {
        private Phone phone;
        public Decorator(Phone p)
        {
            this.phone = p;
        }

        public override void Print()
        {
            Console.WriteLine("开始装饰");
        }
    }
}
